/*******************************************************************************
**
** Copyright (c) 2010 - Nokia Corporation and/or its subsidiary(-ies)
** Copyright (c) 2011 - The OWE Team
**
** This file is part of OWE.
**
** OWE is a free software; you can redistribute it and/or
** modify it under the terms of the GNU Lesser General Public
** License as published by the Free Software Foundation; version
** version 2.1 of the License.
**
** OWE is distributed in the hope that it will be useful,
** but WITHOUT ANY WARRANTY; without even the implied warranty of
** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
** Lesser General Public License for more details.
**
** You should have received a copy of the GNU Lesser General Public
** License along with OWE. If not, see <http://www.gnu.org/licenses/>.
**
*******************************************************************************/

#ifndef GLOBAL_H
#define GLOBAL_H

#define OWE_NAMESPACE OWE

#define OWE_PREPEND_NAMESPACE(name) ::OWE_NAMESPACE::name
#define OWE_BEGIN_NAMESPACE namespace OWE_NAMESPACE {
#define OWE_END_NAMESPACE }
#define OWE_USE_NAMESPACE using namespace OWE_NAMESPACE;

#define OWE_DISABLE_COPY(Class) \
    Class(const Class &); \
    Class &operator=(const Class &);

#ifdef OWE_OS_WIN
#define OWE_EXPORT __declspec(dllexport)
#else
#define OWE_EXPORT
#endif

#endif // GLOBAL_H
